package com.xiaomazi.edu.client;

import com.xiaomazi.servicebase.entity.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

@FeignClient(name = "service-ucenter")
public interface UcenterClient {
    @GetMapping("/educenter/member/getUserInfoByUserId/{userId}")
    UserInfo getUserInfoByUserId(@PathVariable String userId);
}
